$OpenBSD: patch-configure_py,v 1.3 2017/05/12 23:47:57 espie Exp $
Index: configure.py
--- configure.py.orig
+++ configure.py
@@ -989,6 +989,7 @@ class CompilerInfo(InfoObject): # pylint: disable=too-
         self.add_framework_option = lex.add_framework_option
         self.add_include_dir_option = lex.add_include_dir_option
         self.add_lib_option = lex.add_lib_option
+        self.add_lib_dir_option = lex.add_lib_dir_option
         self.ar_command = lex.ar_command
         self.binary_link_commands = force_to_dict(lex.binary_link_commands)
         self.binary_name = lex.binary_name
@@ -2465,10 +2466,6 @@ def main(argv=None):
             if have_program('clang++'):
                 options.compiler = 'clang'
         elif options.os == 'openbsd':
-            if have_program('eg++'):
-                info_cc['gcc'].binary_name = 'eg++'
-            else:
-                logging.warning('Default GCC is too old; install a newer one using \'pkg_add gcc\'')
             # The assembler shipping with OpenBSD 5.9 does not support avx2
             del info_cc['gcc'].isa_flags['avx2']
             options.compiler = 'gcc'
